package com.fsy.its.netty.msg;

import lombok.Data;
import lombok.ToString;

/**
 * 消防系统或部件信息
 */
@Data
@ToString
public class FireObjectInfo {

    public short type;  //系统或部件类型

    public String typeName; //系统或部件名称

    public String addr; //系统或部件地址

    public String desc; //系统或部件描述

    /**
     * 系统类型
     */
    public static final short Sys_Unknown = 0;                 //通用
    public static final short Sys_HuoZaiBaoJing = 1;           //火灾报警系统
    public static final short Sys_LianDongKongZhiQi = 10;      //消防联动控制器
    public static final short Sys_XiaoHuoShuan = 11;           //消防栓系统
    public static final short Sys_ZiDongPenShuiMieHuo = 12;    //自动喷淋灭火系统
    public static final short Sys_QiTiMieHuo = 13;             //气体灭火系统
    public static final short Sys_ShuiPenWuMieHuo_Beng = 14;   //水喷雾灭火系统（泵启动方式）
    public static final short Sys_ShuiPenWuMieHuo_YaLi = 15;   //水喷雾灭火系统（压力容器启动方式）
    public static final short Sys_PaoMoMieHuo = 16;            //泡沫灭火系统
    public static final short Sys_GanFenMieHuo = 17;           //干粉灭火系统
    public static final short Sys_FangYanPaiYan = 18;          //防烟排烟系统
    public static final short Sys_FangHuoMen = 19;             //防火门及卷帘系统
    public static final short Sys_DianTi = 20;                 //消防电梯
    public static final short Sys_YingJiGuangBo = 21;          //消防应急广播
    public static final short Sys_YingJiZhaoMing = 22;         //消防应急照明和疏散指示系统
    public static final short Sys_DianYuan = 23;               //消防电源
    public static final short Sys_DianHua = 24;                //消防电话

    /**
     * 部件类型
     */
    public static final short Com_Unknown = 0;
    public static final short Com_HuoZaiBaoJingKongZhiQi = 1;
    public static final short Com_QiTiTanCe = 10;
    public static final short Com_QiTiTanCe_Dian = 11;
    public static final short Com_QiTiTanCe_DuLi = 12;
    public static final short Com_QiTiTanCe_Xian = 13;
    public static final short Com_DianQiHuoZaiBaoJing = 14;
    public static final short Com_DianQiHuoZaiTanCe_DianLiu = 15;
    public static final short Com_DianQiHuoZaiTanCe_CeWen = 16;
    public static final short Com_TanCeHuiLu = 21;

    public static final short Com_ShouDongAnNiu = 23;   //手动火灾报警按钮

    public static final short Com_YaLiKaiGuan = 99;     //压力开关
    //todo: 更多部件类型定义，参考《GBT 26875.3-2011 城市消防远程监控系统 第3部分：报警传输网络通信协议》第10页表5
}
